import request from '@/utils/request'

// 预警项目分析
export function EarlyWarningProject(params) {
  return request({
    url: '/supervise/HomePageControllerApi/selectEarlyWarningProject',
    method: 'post',
    params
  })
}

// 导出
export function exportEarlyWarningProject(data) {
  return request({
    url: '/supervise/HomePageControllerApi/exportEarlyWarningProject',
    method: 'post',
    responseType: 'blob', // 表明返回服务器返回的数据类型
    data
  })
}
